package com.yuerlive.rainbow.module.mine.presenter;

import com.yuerlive.rainbow.base.BasePresenter;
import com.yuerlive.rainbow.base.BaseView;
import com.yuerlive.rainbow.entity.Anchor;
import com.yuerlive.rainbow.entity.BaseData;
import com.yuerlive.rainbow.entity.UserInfo;

import java.util.List;

/**
 * Created by xiaoyi on 2017/5/25.
 */

public interface MyFansContract {
    interface Presenter extends BasePresenter {
        void getMyFans(boolean isLoadMore);

        void subscribeUp(int pos, String upUserId);

        void getUserInfo(int pos,String userId);
    }

    interface View extends BaseView<Presenter> {
        void showFansList(List<Anchor> fansList,int page);

        void showSubscribeResult(int code, int pos);

        void showUserInfo(BaseData<UserInfo> data, int pos);
    }
}
